package org.example.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 广告表单
 * @TableName Advertisement
 */
@Data
public class Advertisement implements Serializable {
    /**
     * 广告ID
     */
    private Integer id;

    /**
     * 图片URL
     */
    private String imageUrl;

    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /**
     * 广告位置名称
     */
    private Integer advertisementName;

    private static final long serialVersionUID = 1L;
}